<script setup>
defineProps({
  name: String,
  size: {
    type: [
      String,
      Number,
    ],
    default: 32,
  },
  color: {
    type: String,
    default: '#333',
  },
});
</script>

<script>
import AiXin from '@/icon-components/ai-xin.vue';
import LaiNao from '@/icon-components/lai-nao.vue';
import PangXie from '@/icon-components/pang-xie.vue';
import ShuTiao from '@/icon-components/shu-tiao.vue';

export default {
  components: {
    AiXin,
    LaiNao,
    PangXie,
    ShuTiao,

  },
};
</script>

<template>
  <component
    :is="name"
    :size="size"
    :color="color"
  />
</template>
